var mongoose = require('./mongoose.js');
var schema = {
    wmpname: {
        type: String
    },
    promotion_name: {
        type: String
    },
    openid: {
        type: String
    },
    playTime: {
        type: Number,
        default: 1
    },
    sharedTime: {
        type: Number,
        default: 0
    },
    createDate: String
};
var model = mongoose("wechat_promotion", schema, "wechat_promotion").model;

module.exports = model;